package com.tuo51.evaluate.repositories.evaluatev2;

import com.tuo51.evaluate.domain.evaluatingV2.EvaluateV2MonthConclusion;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@CacheConfig(cacheNames = "EvaluateV2MonthConclusionRepository")
public interface EvaluateV2MonthConclusionRepository extends JpaRepository<EvaluateV2MonthConclusion, String> {

    List<EvaluateV2MonthConclusion> findAllByMonthOrderBySort(Integer month);

}
